diff --git a/db/migrate/20220608142147_create_schemes.rb b/db/migrate/20220608142147_create_schemes.rb new file mode 100644 index 000000000..9c102cc85 --- /dev/null +++ b/db/migrate/20220608142147_create_schemes.rb @@ -0,0 +1,12 @@ +class CreateSchemes < ActiveRecord::Migration[7.0] + def change + create_table :schemes do |t| + t.string :code null: false + t.string :service + t.bigint :organisation_id + t.datetime :created_at + + t.timestamps + end + end +end