Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CreateSitePages < ActiveRecord::Migration
- def change
- create_table :site_pages do |t|
- t.references :site, null: false, index: true
- t.string :name, null: false
- t.string :code, null: false
- t.string :url, null: false
- t.timestamps
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement