Work in Progress: Content Editing in Admin Section

This commit is contained in:
Robin Ward
2013-04-04 12:59:44 -04:00
parent bd0e98aec2
commit fa1ba6791b
39 changed files with 653 additions and 64 deletions

View File

@@ -0,0 +1,10 @@
class CreateSiteContents < ActiveRecord::Migration
def change
create_table :site_contents, force: true, id: false do |t|
t.string :content_type, null: false
t.text :content, null: false
t.timestamps
end
add_index :site_contents, :content_type, unique: true
end
end