Initial implementation
This commit is contained in:
8
db/migrate/001_creates_pages.rb
Normal file
8
db/migrate/001_creates_pages.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
class CreatesPages < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :pages do |t|
|
||||
t.text :content
|
||||
t.boolean :published, default: false
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user