spec/dummy/db/schema.rb in manageable-0.1.0 vs spec/dummy/db/schema.rb in manageable-0.1.1

- old
+ new

@@ -1,6 +1,5 @@ -# encoding: UTF-8 # This file is auto-generated from the current state of the database. Instead # of editing this file, please use the migrations feature of Active Record to # incrementally modify your database, and then regenerate this schema definition. # # Note that this schema.rb definition is the authoritative source for your @@ -9,8 +8,46 @@ # 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 => 20110814003912) do +ActiveRecord::Schema.define(:version => 20120311172544) do -end \ No newline at end of file + create_table "articles", :force => true do |t| + t.string "slug" + t.string "title" + t.string "description" + t.string "keywords" + t.string "locale" + t.text "excerpt" + t.text "content" + t.datetime "published_at" + t.boolean "highlight" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false + end + + add_index "articles", ["highlight", "published_at", "locale"], :name => "index_articles_on_highlight_and_published_at_and_locale" + add_index "articles", ["published_at", "locale"], :name => "index_articles_on_published_at_and_locale" + add_index "articles", ["slug"], :name => "index_articles_on_slug" + + create_table "samples", :force => true do |t| + t.string "text_field" + t.string "password_field" + t.string "telephone_field" + t.string "date_field" + t.string "url_field" + t.string "email_field" + t.string "number_field" + t.string "range_field" + t.string "file_field" + t.string "radio_button" + t.string "select_field" + t.string "multiple_select_field" + t.text "text_area" + t.boolean "checkbox_one" + t.boolean "checkbox_two" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false + end + +end