Sha256: 3196b77c9e8a72c3da75517fa03ff3f0e594f39a408ddc8670122157f63c0bea
Contents?: true
Size: 513 Bytes
Versions: 7
Compression:
Stored size: 513 Bytes
Contents
# Everything listed in this migration will be added to a migration file # inside of your main app. class CreateContents < ActiveRecord::Migration def self.up # Birds Table create_table :contents do |t| t.string :title t.text :body t.string :tipe t.string :dom_id t.integer :position t.boolean :visible t.timestamps end end # End of self.up def self.down drop_table :contents # You can drop more tables here end # End of self.down end
Version data entries
7 entries across 7 versions & 1 rubygems