spec/dummy/db/schema.rb in rails_workflow-0.2.2 vs spec/dummy/db/schema.rb in rails_workflow-0.3.0
- 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: 20150217161051) do
+ActiveRecord::Schema.define(version: 20150625034602) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
create_table "leads", force: :cascade do |t|
@@ -42,10 +42,12 @@
t.datetime "created_at"
t.datetime "updated_at"
t.boolean "resolved"
end
+ add_index "rails_workflow_errors", ["parent_id", "parent_type"], name: "index_rails_workflow_errors_on_parent_id_and_parent_type", using: :btree
+
create_table "rails_workflow_operation_templates", force: :cascade do |t|
t.string "title"
t.text "source"
t.json "dependencies"
t.string "operation_class"
@@ -61,12 +63,18 @@
t.string "group"
t.text "instruction"
t.boolean "is_background", default: true
t.string "type"
t.string "partial_name"
+ t.string "version"
+ t.uuid "uuid"
+ t.string "tag"
end
+ add_index "rails_workflow_operation_templates", ["process_template_id"], name: "index_rails_workflow_operation_templates_on_process_template_id", using: :btree
+ add_index "rails_workflow_operation_templates", ["uuid"], name: "index_rails_workflow_operation_templates_on_uuid", using: :btree
+
create_table "rails_workflow_operations", force: :cascade do |t|
t.integer "status"
t.boolean "async"
t.string "title"
t.datetime "created_at"
@@ -80,30 +88,42 @@
t.datetime "assigned_at"
t.string "type"
t.boolean "is_active"
t.datetime "completed_at"
t.boolean "is_background"
+ t.string "version"
+ t.string "tag"
end
+ add_index "rails_workflow_operations", ["process_id"], name: "index_rails_workflow_operations_on_process_id", using: :btree
+ add_index "rails_workflow_operations", ["template_id"], name: "index_rails_workflow_operations_on_template_id", using: :btree
+
create_table "rails_workflow_process_templates", force: :cascade 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"
t.string "partial_name"
+ t.uuid "uuid"
+ t.string "version"
+ t.string "tag"
end
+ add_index "rails_workflow_process_templates", ["uuid"], name: "index_rails_workflow_process_templates_on_uuid", using: :btree
+
create_table "rails_workflow_processes", force: :cascade 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"
+ t.string "version"
+ t.string "tag"
end
create_table "sales_contacts", force: :cascade do |t|
t.text "message"
t.string "email"