Skip to content

Commit

Permalink
Merge pull request openSUSE#14185 from saraycp/track_last_schema_update
Browse files Browse the repository at this point in the history
Fix wrong version of migration
  • Loading branch information
eduardoj authored Apr 20, 2023
2 parents b781a0c + 6b7a720 commit 736842d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/api/app/models/issue_tracker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ def update_package_meta
# Table name: issue_trackers
#
# id :integer not null, primary key
# api_key :string(255)
# description :string(255)
# enable_fetch :boolean default(FALSE)
# issues_updated :datetime not null
Expand Down
3 changes: 2 additions & 1 deletion src/api/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[7.0].define(version: 202302224114624) do
ActiveRecord::Schema[7.0].define(version: 2023_04_13_080503) do
create_table "architectures", id: :integer, charset: "utf8mb4", collation: "utf8mb4_unicode_ci", options: "ENGINE=InnoDB ROW_FORMAT=DYNAMIC", force: :cascade do |t|
t.string "name", null: false, collation: "utf8mb3_general_ci"
t.boolean "available", default: false
Expand Down Expand Up @@ -554,6 +554,7 @@
t.datetime "issues_updated", precision: nil, null: false
t.boolean "enable_fetch", default: false
t.boolean "publish_issues", default: true
t.string "api_key"
end

create_table "issues", id: :integer, charset: "utf8mb4", collation: "utf8mb4_unicode_ci", options: "ENGINE=InnoDB ROW_FORMAT=DYNAMIC", force: :cascade do |t|
Expand Down

0 comments on commit 736842d

Please sign in to comment.