diff options
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20231216203855_create_events.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20231216203855_create_events.rb b/db/migrate/20231216203855_create_events.rb new file mode 100644 index 0000000..37cab03 --- /dev/null +++ b/db/migrate/20231216203855_create_events.rb @@ -0,0 +1,10 @@ +class CreateEvents < ActiveRecord::Migration[7.1] + def change + create_table :events do |t| + t.date :date + t.string :name + + t.timestamps + end + end +end |