Latest updates
This commit is contained in:
11
db/migrate/20220210171858_create_cafs.rb
Normal file
11
db/migrate/20220210171858_create_cafs.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
class CreateCafs < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
create_table :cafs do |t|
|
||||
t.references :company, null: false, foreign_key: true
|
||||
t.string :name
|
||||
t.text :description
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user