mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 01:44:34 +08:00
fix schema.rb
This commit is contained in:
parent
a4cabb203b
commit
7d4d45906a
1 changed files with 4 additions and 11 deletions
15
db/schema.rb
15
db/schema.rb
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20190213064847) do
|
||||
ActiveRecord::Schema.define(version: 20190125123107) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -19,26 +19,19 @@ ActiveRecord::Schema.define(version: 20190213064847) do
|
|||
|
||||
create_table "activities", force: :cascade do |t|
|
||||
t.bigint "my_module_id"
|
||||
t.bigint "owner_id"
|
||||
t.bigint "user_id"
|
||||
t.integer "type_of", null: false
|
||||
t.string "message"
|
||||
t.string "message", null: false
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.bigint "project_id", null: false
|
||||
t.bigint "experiment_id"
|
||||
t.string "subject_type"
|
||||
t.bigint "subject_id"
|
||||
t.bigint "team_id"
|
||||
t.integer "group_type"
|
||||
t.json "values"
|
||||
t.index ["created_at"], name: "index_activities_on_created_at"
|
||||
t.index ["experiment_id"], name: "index_activities_on_experiment_id"
|
||||
t.index ["my_module_id"], name: "index_activities_on_my_module_id"
|
||||
t.index ["owner_id"], name: "index_activities_on_owner_id"
|
||||
t.index ["project_id"], name: "index_activities_on_project_id"
|
||||
t.index ["subject_type", "subject_id"], name: "index_activities_on_subject_type_and_subject_id"
|
||||
t.index ["team_id"], name: "index_activities_on_team_id"
|
||||
t.index ["type_of"], name: "index_activities_on_type_of"
|
||||
t.index ["user_id"], name: "index_activities_on_user_id"
|
||||
end
|
||||
|
||||
create_table "asset_text_data", force: :cascade do |t|
|
||||
|
|
Loading…
Reference in a new issue