diff options
Diffstat (limited to 'db/migrate/20140617183711_create_info.rb')
-rw-r--r-- | db/migrate/20140617183711_create_info.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/db/migrate/20140617183711_create_info.rb b/db/migrate/20140617183711_create_info.rb new file mode 100644 index 0000000..c7dc516 --- /dev/null +++ b/db/migrate/20140617183711_create_info.rb @@ -0,0 +1,8 @@ +class CreateInfo < ActiveRecord::Migration + def change + create_table :info do |t| + t.string :title + t.text :content + end + end +end |