From c84b94a647fb4c068e8be9d0495ff7284f41f168 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 17 Dec 2023 14:26:17 +0000 Subject: Initial --- db/migrate/20231216203855_create_events.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 db/migrate/20231216203855_create_events.rb (limited to 'db/migrate/20231216203855_create_events.rb') 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 -- cgit v1.2.3