spec/dummy/db/schema.rb in rails_workflow-0.2.0 vs spec/dummy/db/schema.rb in rails_workflow-0.2.1

- old
+ new

@@ -9,11 +9,11 @@ # 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 that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20150207181058) do +ActiveRecord::Schema.define(version: 20150210070051) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" create_table "leads", force: true do |t| @@ -22,57 +22,31 @@ t.string "name" t.datetime "created_at" t.datetime "updated_at" end - create_table "sales_contacts", force: true do |t| - t.text "message" - t.string "email" - t.datetime "created_at" - t.datetime "updated_at" - end - - create_table "users", force: true do |t| - t.string "email", default: "", null: false - t.string "encrypted_password", default: "", null: false - t.string "reset_password_token" - t.datetime "reset_password_sent_at" - t.datetime "remember_created_at" - t.integer "sign_in_count", default: 0, null: false - t.datetime "current_sign_in_at" - t.datetime "last_sign_in_at" - t.inet "current_sign_in_ip" - t.inet "last_sign_in_ip" - t.string "role" - t.datetime "created_at" - t.datetime "updated_at" - end - - add_index "users", ["email"], name: "index_users_on_email", unique: true, using: :btree - add_index "users", ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true, using: :btree - - create_table "workflow_contexts", force: true do |t| + create_table "rails_workflow_contexts", force: true do |t| t.integer "parent_id" t.string "parent_type" t.json "body" t.datetime "created_at" t.datetime "updated_at" end - add_index "workflow_contexts", ["parent_id", "parent_type"], name: "index_workflow_contexts_on_parent_id_and_parent_type", using: :btree + add_index "rails_workflow_contexts", ["parent_id", "parent_type"], name: "index_rails_workflow_contexts_on_parent_id_and_parent_type", using: :btree - create_table "workflow_errors", force: true do |t| + create_table "rails_workflow_errors", force: true do |t| t.string "message" t.text "stack_trace" t.integer "parent_id" t.string "parent_type" t.datetime "created_at" t.datetime "updated_at" t.boolean "resolved" end - create_table "workflow_operation_templates", force: true do |t| + create_table "rails_workflow_operation_templates", force: true do |t| t.string "title" t.text "source" t.text "dependencies" t.string "operation_class" t.integer "process_template_id" @@ -88,11 +62,11 @@ t.text "instruction" t.boolean "is_background", default: true t.string "type" end - create_table "workflow_operations", force: true do |t| + create_table "rails_workflow_operations", force: true do |t| t.integer "status" t.boolean "async" t.string "title" t.datetime "created_at" t.datetime "updated_at" @@ -107,26 +81,52 @@ t.boolean "is_active" t.datetime "completed_at" t.boolean "is_background" end - create_table "workflow_process_templates", force: true do |t| + create_table "rails_workflow_process_templates", force: true do |t| t.string "title" t.text "source" t.string "manager_class" t.string "process_class" t.datetime "created_at" t.datetime "updated_at" t.string "type" end - create_table "workflow_processes", force: true do |t| + create_table "rails_workflow_processes", force: true do |t| t.integer "status" t.boolean "async" t.string "title" t.datetime "created_at" t.datetime "updated_at" t.integer "template_id" t.string "type" end + + create_table "sales_contacts", force: true do |t| + t.text "message" + t.string "email" + t.datetime "created_at" + t.datetime "updated_at" + end + + create_table "users", force: true do |t| + t.string "email", default: "", null: false + t.string "encrypted_password", default: "", null: false + t.string "reset_password_token" + t.datetime "reset_password_sent_at" + t.datetime "remember_created_at" + t.integer "sign_in_count", default: 0, null: false + t.datetime "current_sign_in_at" + t.datetime "last_sign_in_at" + t.inet "current_sign_in_ip" + t.inet "last_sign_in_ip" + t.string "role" + t.datetime "created_at" + t.datetime "updated_at" + end + + add_index "users", ["email"], name: "index_users_on_email", unique: true, using: :btree + add_index "users", ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true, using: :btree end