Skip to content
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.

Commit

Permalink
Fix epoch type for Ftbfs
Browse files Browse the repository at this point in the history
  • Loading branch information
biow0lf committed Aug 4, 2016
1 parent 51044c4 commit 43b5ad1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
5 changes: 5 additions & 0 deletions db/migrate/20160804143257_remove_epoch_from_ftbfs.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class RemoveEpochFromFtbfs < ActiveRecord::Migration[5.0]
def change
remove_column :ftbfs, :epoch, :string
end
end
5 changes: 5 additions & 0 deletions db/migrate/20160804143438_add_epoch_to_ftbfs.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class AddEpochToFtbfs < ActiveRecord::Migration[5.0]
def change
add_column :ftbfs, :epoch, :integer
end
end
4 changes: 2 additions & 2 deletions 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: 20160804142724) do
ActiveRecord::Schema.define(version: 20160804143438) do

# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
Expand Down Expand Up @@ -73,7 +73,6 @@

create_table "ftbfs", force: :cascade do |t|
t.string "name"
t.string "epoch"
t.string "version"
t.string "release"
t.integer "weeks"
Expand All @@ -82,6 +81,7 @@
t.datetime "updated_at"
t.string "arch"
t.integer "maintainer_id"
t.integer "epoch"
t.index ["branch_id"], name: "index_ftbfs_on_branch_id", using: :btree
t.index ["maintainer_id"], name: "index_ftbfs_on_maintainer_id", using: :btree
end
Expand Down

0 comments on commit 43b5ad1

Please sign in to comment.