rm old migrations

This commit is contained in:
Rimian Perkins 2019-12-05 17:11:05 +11:00
parent 09bfe419d8
commit e3d2ac0101
3 changed files with 0 additions and 27 deletions

View File

@ -1,13 +0,0 @@
# frozen_string_literal: true
class CreateCustomers < ActiveRecord::Migration[5.2]
def change
create_table :discourse_patrons_customers do |t|
t.string :customer_id, null: false
t.references :user, foreign_key: true
t.timestamps
end
add_index :discourse_patrons_customers, :customer_id, unique: true
end
end

View File

@ -1,7 +0,0 @@
# frozen_string_literal: true
class AddProductToCustomer < ActiveRecord::Migration[6.0]
def change
add_column :discourse_patrons_customers, :product_id, :string
end
end

View File

@ -1,7 +0,0 @@
# frozen_string_literal: true
class RemoveCustomerIndex < ActiveRecord::Migration[6.0]
def change
remove_index :discourse_patrons_customers, :customer_id
end
end