Skip to content

Commit

Permalink
add name to creates, realizes and produces
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeta committed Dec 2, 2023
1 parent 0f7ec12 commit 48e64ab
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/models/create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ def reindex
# created_at :datetime not null
# updated_at :datetime not null
# create_type_id :bigint
# name :text
#
1 change: 1 addition & 0 deletions app/models/produce.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ def reindex
# created_at :datetime not null
# updated_at :datetime not null
# produce_type_id :bigint
# name :text
#
1 change: 1 addition & 0 deletions app/models/realize.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ def reindex
# created_at :datetime not null
# updated_at :datetime not null
# realize_type_id :bigint
# name :text
#
5 changes: 4 additions & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 2023_10_28_035847) do
ActiveRecord::Schema.define(version: 2023_10_30_062425) do

# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
Expand Down Expand Up @@ -458,6 +458,7 @@
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
t.bigint "create_type_id"
t.text "name"
t.index ["agent_id"], name: "index_creates_on_agent_id"
t.index ["work_id", "agent_id"], name: "index_creates_on_work_id_and_agent_id", unique: true
end
Expand Down Expand Up @@ -1265,6 +1266,7 @@
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
t.bigint "produce_type_id"
t.text "name"
t.index ["agent_id"], name: "index_produces_on_agent_id"
t.index ["manifestation_id", "agent_id"], name: "index_produces_on_manifestation_id_and_agent_id", unique: true
end
Expand Down Expand Up @@ -1331,6 +1333,7 @@
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
t.bigint "realize_type_id"
t.text "name"
t.index ["agent_id"], name: "index_realizes_on_agent_id"
t.index ["expression_id", "agent_id"], name: "index_realizes_on_expression_id_and_agent_id", unique: true
end
Expand Down
1 change: 1 addition & 0 deletions spec/factories/creates.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@
# created_at :datetime not null
# updated_at :datetime not null
# create_type_id :bigint
# name :text
#
1 change: 1 addition & 0 deletions spec/factories/produces.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@
# created_at :datetime not null
# updated_at :datetime not null
# produce_type_id :bigint
# name :text
#
1 change: 1 addition & 0 deletions spec/factories/realizes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@
# created_at :datetime not null
# updated_at :datetime not null
# realize_type_id :bigint
# name :text
#
1 change: 1 addition & 0 deletions spec/fixtures/creates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,5 @@ create_00104:
# created_at :datetime not null
# updated_at :datetime not null
# create_type_id :bigint
# name :text
#
1 change: 1 addition & 0 deletions spec/fixtures/produces.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,5 @@ produce_00202:
# created_at :datetime not null
# updated_at :datetime not null
# produce_type_id :bigint
# name :text
#
1 change: 1 addition & 0 deletions spec/fixtures/realizes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,5 @@ realize_00010:
# created_at :datetime not null
# updated_at :datetime not null
# realize_type_id :bigint
# name :text
#
1 change: 1 addition & 0 deletions spec/models/create_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@
# created_at :datetime not null
# updated_at :datetime not null
# create_type_id :bigint
# name :text
#
1 change: 1 addition & 0 deletions spec/models/produce_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@
# created_at :datetime not null
# updated_at :datetime not null
# produce_type_id :bigint
# name :text
#
1 change: 1 addition & 0 deletions spec/models/realize_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@
# created_at :datetime not null
# updated_at :datetime not null
# realize_type_id :bigint
# name :text
#

0 comments on commit 48e64ab

Please sign in to comment.