mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Change Migration documentation to use the new syntax. Closes #9813 [sjgman9]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7788 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -36,11 +36,11 @@ module ActiveRecord
|
||||
# class AddSystemSettings < ActiveRecord::Migration
|
||||
# def self.up
|
||||
# create_table :system_settings do |t|
|
||||
# t.column :name, :string
|
||||
# t.column :label, :string
|
||||
# t.column :value, :text
|
||||
# t.column :type, :string
|
||||
# t.column :position, :integer
|
||||
# t.string :name
|
||||
# t.string :label
|
||||
# t.text :value
|
||||
# t.string :type
|
||||
# t.integer :position
|
||||
# end
|
||||
#
|
||||
# SystemSetting.create :name => "notice", :label => "Use notice?", :value => 1
|
||||
|
||||
Reference in New Issue
Block a user