diff options
Diffstat (limited to 'db/migrate/20240227145317_add_authors_to_thing.rb')
| -rw-r--r-- | db/migrate/20240227145317_add_authors_to_thing.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20240227145317_add_authors_to_thing.rb b/db/migrate/20240227145317_add_authors_to_thing.rb new file mode 100644 index 0000000..0c26b81 --- /dev/null +++ b/db/migrate/20240227145317_add_authors_to_thing.rb @@ -0,0 +1,6 @@ +class AddAuthorsToThing < ActiveRecord::Migration[7.1] + def change + add_column :things, :authors, :string, null: false + add_column :things, :editors, :boolean, default: false + end +end |
