mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Work in Progress: Content Editing in Admin Section
This commit is contained in:
10
db/migrate/20130404143437_create_site_contents.rb
Normal file
10
db/migrate/20130404143437_create_site_contents.rb
Normal 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
|
||||
Reference in New Issue
Block a user