summaryrefslogtreecommitdiff
path: root/db/migrate/20210522201259_create_monsters.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20210522201259_create_monsters.rb')
-rw-r--r--db/migrate/20210522201259_create_monsters.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/db/migrate/20210522201259_create_monsters.rb b/db/migrate/20210522201259_create_monsters.rb
new file mode 100644
index 0000000..39f0a1a
--- /dev/null
+++ b/db/migrate/20210522201259_create_monsters.rb
@@ -0,0 +1,12 @@
+class CreateMonsters < ActiveRecord::Migration[6.1]
+ def change
+ create_table :monsters do |t|
+ t.string :gid
+ t.string :name
+ t.text :description
+ t.jsonb :whatnot
+
+ t.timestamps
+ end
+ end
+end