0
ActiveRecord::Schema.define(:version => 74) do
0
create_table "assets", :force => true do |t|
0
- t.column "content_type", :string
0
- t.column "filename", :string
0
- t.column "size", :integer
0
- t.column "parent_id", :integer
0
- t.column "thumbnail", :string
0
- t.column "width", :integer
0
- t.column "height", :integer
0
- t.column "site_id", :integer
0
- t.column "created_at", :datetime
0
- t.column "title", :string
0
- t.column "thumbnails_count", :integer, :default => 0
0
- t.column "user_id", :integer
0
+ t.string "content_type"
0
+ t.datetime "created_at"
0
+ t.integer "thumbnails_count", :default => 0
0
create_table "assigned_assets", :force => true do |t|
0
- t.column "article_id", :integer
0
- t.column "asset_id", :integer
0
- t.column "position", :integer
0
- t.column "label", :string
0
- t.column "created_at", :datetime
0
- t.column "active", :boolean
0
+ t.integer "article_id"
0
+ t.datetime "created_at"
0
create_table "assigned_sections", :force => true do |t|
0
- t.column "article_id", :integer
0
- t.column "section_id", :integer
0
- t.column "position", :integer, :default => 1
0
+ t.integer "article_id"
0
+ t.integer "section_id"
0
+ t.integer "position", :default => 1
0
add_index "assigned_sections", ["article_id", "section_id"], :name => "idx_a_sections_article_section"
0
create_table "cached_pages", :force => true do |t|
0
- t.column "url", :string
0
- t.column "references", :text
0
- t.column "updated_at", :datetime
0
- t.column "site_id", :integer
0
- t.column "cleared_at", :datetime
0
+ t.datetime "updated_at"
0
+ t.datetime "cleared_at"
0
create_table "content_versions", :force => true do |t|
0
- t.column "content_id", :integer
0
- t.column "version", :integer
0
- t.column "article_id", :integer
0
- t.column "user_id", :integer
0
- t.column "title", :string
0
- t.column "permalink", :string
0
- t.column "excerpt", :text
0
- t.column "body", :text
0
- t.column "excerpt_html", :text
0
- t.column "body_html", :text
0
- t.column "created_at", :datetime
0
- t.column "updated_at", :datetime
0
- t.column "published_at", :datetime
0
- t.column "author", :string, :limit => 100
0
- t.column "author_url", :string
0
- t.column "author_email", :string
0
- t.column "author_ip", :string, :limit => 100
0
- t.column "comments_count", :integer, :default => 0
0
- t.column "updater_id", :integer
0
- t.column "versioned_type", :string, :limit => 20
0
- t.column "site_id", :integer
0
- t.column "approved", :boolean, :default => false
0
- t.column "comment_age", :integer, :default => 0
0
- t.column "filter", :string
0
- t.column "user_agent", :string
0
- t.column "referrer", :string
0
- t.column "assets_count", :integer, :default => 0
0
+ t.integer "content_id"
0
+ t.integer "article_id"
0
+ t.datetime "created_at"
0
+ t.datetime "updated_at"
0
+ t.datetime "published_at"
0
+ t.string "author", :limit => 100
0
+ t.string "author_email"
0
+ t.string "author_ip", :limit => 100
0
+ t.integer "comments_count", :default => 0
0
+ t.integer "updater_id"
0
+ t.string "versioned_type", :limit => 20
0
+ t.boolean "approved", :default => false
0
+ t.integer "comment_age", :default => 0
0
+ t.integer "assets_count", :default => 0
0
create_table "contents", :force => true do |t|
0
- t.column "article_id", :integer
0
- t.column "user_id", :integer
0
- t.column "title", :string
0
- t.column "permalink", :string
0
- t.column "excerpt", :text
0
- t.column "body", :text
0
- t.column "excerpt_html", :text
0
- t.column "body_html", :text
0
- t.column "created_at", :datetime
0
- t.column "updated_at", :datetime
0
- t.column "published_at", :datetime
0
- t.column "type", :string, :limit => 20
0
- t.column "author", :string, :limit => 100
0
- t.column "author_url", :string
0
- t.column "author_email", :string
0
- t.column "author_ip", :string, :limit => 100
0
- t.column "comments_count", :integer, :default => 0
0
- t.column "updater_id", :integer
0
- t.column "version", :integer
0
- t.column "site_id", :integer
0
- t.column "approved", :boolean, :default => false
0
- t.column "comment_age", :integer, :default => 0
0
- t.column "filter", :string
0
- t.column "user_agent", :string
0
- t.column "referrer", :string
0
- t.column "assets_count", :integer, :default => 0
0
+ t.integer "article_id"
0
+ t.datetime "created_at"
0
+ t.datetime "updated_at"
0
+ t.datetime "published_at"
0
+ t.string "type", :limit => 20
0
+ t.string "author", :limit => 100
0
+ t.string "author_email"
0
+ t.string "author_ip", :limit => 100
0
+ t.integer "comments_count", :default => 0
0
+ t.integer "updater_id"
0
+ t.boolean "approved", :default => false
0
+ t.integer "comment_age", :default => 0
0
+ t.integer "assets_count", :default => 0
0
add_index "contents", ["published_at"], :name => "idx_articles_published"
0
add_index "contents", ["article_id", "approved", "type"], :name => "idx_comments"
0
create_table "events", :force => true do |t|
0
- t.column "mode", :string
0
- t.column "user_id", :integer
0
- t.column "article_id", :integer
0
- t.column "title", :text
0
- t.column "body", :text
0
- t.column "created_at", :datetime
0
- t.column "author", :string, :limit => 100
0
- t.column "comment_id", :integer
0
- t.column "site_id", :integer
0
+ t.integer "article_id"
0
+ t.datetime "created_at"
0
+ t.string "author", :limit => 100
0
+ t.integer "comment_id"
0
create_table "feedbacks", :force => true do |t|
0
- t.column "site_id", :integer
0
- t.column "name", :string
0
- t.column "email", :string
0
- t.column "body", :text
0
- t.column "key", :string
0
- t.column "created_at", :datetime
0
+ t.datetime "created_at"
0
create_table "memberships", :force => true do |t|
0
- t.column "site_id", :integer
0
- t.column "user_id", :integer
0
- t.column "created_at", :datetime
0
- t.column "admin", :boolean, :default => false
0
+ t.datetime "created_at"
0
+ t.boolean "admin", :default => false
0
create_table "mephisto_plugins", :force => true do |t|
0
- t.column "name", :string
0
- t.column "options", :text
0
- t.column "type", :string
0
create_table "sections", :force => true do |t|
0
- t.column "name", :string
0
- t.column "show_paged_articles", :boolean, :default => false
0
- t.column "articles_per_page", :integer, :default => 15
0
- t.column "layout", :string
0
- t.column "template", :string
0
- t.column "site_id", :integer
0
- t.column "path", :string
0
- t.column "articles_count", :integer, :default => 0
0
- t.column "archive_path", :string
0
- t.column "archive_template", :string
0
- t.column "position", :integer, :default => 1
0
+ t.boolean "show_paged_articles", :default => false
0
+ t.integer "articles_per_page", :default => 15
0
+ t.integer "articles_count", :default => 0
0
+ t.string "archive_path"
0
+ t.string "archive_template"
0
+ t.integer "position", :default => 1
0
create_table "sessions", :force => true do |t|
0
- t.column "session_id", :string
0
- t.column "data", :text
0
- t.column "updated_at", :datetime
0
+ t.datetime "updated_at"
0
add_index "sessions", ["session_id"], :name => "sessions_session_id_index"
0
create_table "sites", :force => true do |t|
0
- t.column "title", :string
0
- t.column "subtitle", :string
0
- t.column "email", :string
0
- t.column "ping_urls", :text
0
- t.column "articles_per_page", :integer, :default => 15
0
- t.column "host", :string
0
- t.column "akismet_key", :string, :limit => 100
0
- t.column "akismet_url", :string
0
- t.column "approve_comments", :boolean
0
- t.column "comment_age", :integer
0
- t.column "timezone", :string
0
- t.column "filter", :string
0
- t.column "permalink_style", :string
0
- t.column "search_path", :string
0
- t.column "tag_path", :string
0
- t.column "tag_layout", :string
0
- t.column "current_theme_path", :string
0
+ t.integer "articles_per_page", :default => 15
0
+ t.string "akismet_key", :limit => 100
0
+ t.string "akismet_url"
0
+ t.boolean "approve_comments"
0
+ t.integer "comment_age"
0
+ t.string "permalink_style"
0
+ t.string "search_path"
0
+ t.string "current_theme_path"
0
add_index "sites", ["host"], :name => "index_sites_on_host"
0
create_table "taggings", :force => true do |t|
0
- t.column "tag_id", :integer
0
- t.column "taggable_id", :integer
0
- t.column "taggable_type", :string
0
+ t.integer "taggable_id"
0
+ t.string "taggable_type"
0
create_table "tags", :force => true do |t|
0
- t.
column "name", :string0
create_table "users", :force => true do |t|
0
- t.column "login", :string, :limit => 40
0
- t.column "email", :string, :limit => 100
0
- t.column "crypted_password", :string, :limit => 40
0
- t.column "salt", :string, :limit => 40
0
- t.column "activation_code", :string, :limit => 40
0
- t.column "activated_at", :datetime
0
- t.column "created_at", :datetime
0
- t.column "updated_at", :datetime
0
- t.column "deleted_at", :datetime
0
- t.column "token", :string
0
- t.column "token_expires_at", :datetime
0
- t.column "filter", :string
0
- t.column "admin", :boolean, :default => false
0
+ t.string "login", :limit => 40
0
+ t.string "email", :limit => 100
0
+ t.string "crypted_password", :limit => 40
0
+ t.string "salt", :limit => 40
0
+ t.string "activation_code", :limit => 40
0
+ t.datetime "activated_at"
0
+ t.datetime "created_at"
0
+ t.datetime "updated_at"
0
+ t.datetime "deleted_at"
0
+ t.datetime "token_expires_at"
0
+ t.boolean "admin", :default => false
Comments
No one has commented yet.