daiao 5 years ago
parent 1c14311aa0
commit 84d0218e48

@ -1,11 +1,11 @@
class CreateSalesmans < ActiveRecord::Migration[5.2]
def change
create_table :salesmans do |t|
t.references :user
t.string :name
t.integer :salesman_channels_count
t.integer :salesman_customers_count
t.timestamps
end
# create_table :salesmans do |t|
# t.references :user
# t.string :name
# t.integer :salesman_channels_count
# t.integer :salesman_customers_count
# t.timestamps
# end
end
end

@ -1,9 +1,9 @@
class CreateSalesmanChannels < ActiveRecord::Migration[5.2]
def change
create_table :salesman_channels do |t|
t.references :salesman
t.references :school
t.timestamps
end
# create_table :salesman_channels do |t|
# t.references :salesman
# t.references :school
# t.timestamps
# end
end
end

@ -1,10 +1,10 @@
class CreateSalesmanCustomers < ActiveRecord::Migration[5.2]
def change
create_table :salesman_customers do |t|
t.references :salesman
t.references :user
t.references :school
t.timestamps
end
# create_table :salesman_customers do |t|
# t.references :salesman
# t.references :user
# t.references :school
# t.timestamps
# end
end
end

Loading…
Cancel
Save