2
3
4
5
6
7
8
9
10
11
12
13
14
|
# File 'lib/generators/actasdynamic/install/templates/create_something.rb', line 2
def change
create_table "crm_dynamic_models", charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci", force: :cascade do |t|
t.string "source_class"
t.bigint "source_record_id"
t.bigint "reference_number"
t.string "destination_class"
t.bigint "tenant_id", null: false
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
t.index ["source_record_id"], name: "index_crm_dynamic_models_on_source_record_id"
t.index ["tenant_id"], name: "index_crm_dynamic_models_on_tenant_id"
end
end
|