Initial commit
This commit is contained in:
12
db/migrate/20190204054833_create_accounts.rb
Normal file
12
db/migrate/20190204054833_create_accounts.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
class CreateAccounts < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
create_table :accounts do |t|
|
||||
t.string :name
|
||||
t.string :slug
|
||||
t.string :plan_uid
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
add_index :accounts, :slug, unique: true
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user