sso
parent
fab8b96669
commit
b8fc11828c
@ -1,11 +1,11 @@
|
|||||||
class CreateSalesmans < ActiveRecord::Migration[5.2]
|
class CreateSalesmans < ActiveRecord::Migration[5.2]
|
||||||
def change
|
def change
|
||||||
# create_table :salesmans do |t|
|
create_table :salesmans do |t|
|
||||||
# t.references :user
|
t.references :user
|
||||||
# t.string :name
|
t.string :name
|
||||||
# t.integer :salesman_channels_count
|
t.integer :salesman_channels_count
|
||||||
# t.integer :salesman_customers_count
|
t.integer :salesman_customers_count
|
||||||
# t.timestamps
|
t.timestamps
|
||||||
# end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
class CreateSalesmanChannels < ActiveRecord::Migration[5.2]
|
class CreateSalesmanChannels < ActiveRecord::Migration[5.2]
|
||||||
def change
|
def change
|
||||||
# create_table :salesman_channels do |t|
|
create_table :salesman_channels do |t|
|
||||||
# t.references :salesman
|
t.references :salesman
|
||||||
# t.references :school
|
t.references :school
|
||||||
# t.timestamps
|
t.timestamps
|
||||||
# end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
class CreateSalesmanCustomers < ActiveRecord::Migration[5.2]
|
class CreateSalesmanCustomers < ActiveRecord::Migration[5.2]
|
||||||
def change
|
def change
|
||||||
# create_table :salesman_customers do |t|
|
create_table :salesman_customers do |t|
|
||||||
# t.references :salesman
|
t.references :salesman
|
||||||
# t.references :user
|
t.references :user
|
||||||
# t.references :school
|
t.references :school
|
||||||
# t.timestamps
|
t.timestamps
|
||||||
# end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in new issue