test/rails_root/db/schema.rb in disguise-0.1.3 vs test/rails_root/db/schema.rb in disguise-0.2.0
- old
+ new
@@ -7,41 +7,21 @@
# all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20090602041838) do
+ActiveRecord::Schema.define(:version => 20090606153236) do
- create_table "themes", :force => true do |t|
- t.string "current"
+ create_table "domain_themes", :force => true do |t|
+ t.string "uri"
+ t.string "name"
end
- create_table "uploads", :force => true do |t|
- t.integer "creator_id"
- t.string "name"
- t.string "caption", :limit => 1000
- t.text "description"
- t.boolean "is_public", :default => true
- t.integer "uploadable_id"
- t.string "uploadable_type"
- t.string "width"
- t.string "height"
- t.string "local_file_name"
- t.string "local_content_type"
- t.integer "local_file_size"
- t.datetime "local_updated_at"
- t.string "remote_file_name"
- t.string "remote_content_type"
- t.integer "remote_file_size"
- t.datetime "remote_updated_at"
- t.datetime "created_at"
- t.datetime "updated_at"
- end
+ add_index "domain_themes", ["uri"], :name => "index_domain_themes_on_uri"
- add_index "uploads", ["creator_id"], :name => "index_uploads_on_creator_id"
- add_index "uploads", ["local_content_type"], :name => "index_uploads_on_local_content_type"
- add_index "uploads", ["uploadable_id"], :name => "index_uploads_on_uploadable_id"
- add_index "uploads", ["uploadable_type"], :name => "index_uploads_on_uploadable_type"
+ create_table "themes", :force => true do |t|
+ t.string "name"
+ end
create_table "users", :force => true do |t|
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"