2 changed files with 24 additions and 1 deletions
@ -0,0 +1,13 @@ |
|||||||
|
class CreateLocalAuthorities < ActiveRecord::Migration[7.0] |
||||||
|
def change |
||||||
|
create_table :local_authorities do |t| |
||||||
|
t.string :code |
||||||
|
t.string :la_name |
||||||
|
t.datetime :start_date |
||||||
|
t.datetime :end_date |
||||||
|
t.boolean :previous_location_only, default: false |
||||||
|
|
||||||
|
t.timestamps |
||||||
|
end |
||||||
|
end |
||||||
|
end |
||||||
Loading…
Reference in new issue