aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/20231216203855_create_events.rb
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-12-17 14:26:17 +0000
committerMatthew Lemon <y@yulqen.org>2023-12-17 14:26:17 +0000
commitc84b94a647fb4c068e8be9d0495ff7284f41f168 (patch)
treed969c75c764436c0478234233597e38e1e29c2d5 /db/migrate/20231216203855_create_events.rb
Initial
Diffstat (limited to 'db/migrate/20231216203855_create_events.rb')
-rw-r--r--db/migrate/20231216203855_create_events.rb10
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