summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-05-02 20:21:04 -0400
committerDavid Gay <david@davidgay.org>2021-05-02 20:21:04 -0400
commit2b32a88a8e9f1d0bb5055843ac987d9cb9981803 (patch)
tree19bf361b7cbb69ae493cc02d07f0fae2cf6da928 /db/migrate
parent5fe4e8f4a080e02dfc4e4adabd09d6f5c7e38f40 (diff)
Add Activities
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20210503001859_create_activities.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/db/migrate/20210503001859_create_activities.rb b/db/migrate/20210503001859_create_activities.rb
new file mode 100644
index 0000000..883d82a
--- /dev/null
+++ b/db/migrate/20210503001859_create_activities.rb
@@ -0,0 +1,12 @@
+class CreateActivities < ActiveRecord::Migration[6.1]
+ def change
+ create_table :activities do |t|
+ t.string :gid
+ t.string :name
+ t.text :description
+ t.jsonb :whatnot
+
+ t.timestamps
+ end
+ end
+end