Initial commit
This commit is contained in:
12
db/migrate/20191223123415_create_directories.rb
Normal file
12
db/migrate/20191223123415_create_directories.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
class CreateDirectories < ActiveRecord::Migration[6.0]
|
||||
def change
|
||||
create_table :directories do |t|
|
||||
t.references :project
|
||||
t.references :user
|
||||
t.string :name, null: false
|
||||
t.integer :category, default: 0
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user