12 lines
250 B
12 lines
250 B
3 years ago
|
class CreateSchemes < ActiveRecord::Migration[7.0]
|
||
|
def change
|
||
|
create_table :schemes do |t|
|
||
|
t.string :code
|
||
|
t.string :service_name
|
||
|
t.references :organisation, null: false, foreign_key: true
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|