From d717f7db2279a35b1259030b9b31e966a341fe99 Mon Sep 17 00:00:00 2001 From: David Gay Date: Sun, 2 May 2021 17:42:23 -0400 Subject: Add items --- db/migrate/20210502212517_create_items.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 db/migrate/20210502212517_create_items.rb (limited to 'db/migrate') diff --git a/db/migrate/20210502212517_create_items.rb b/db/migrate/20210502212517_create_items.rb new file mode 100644 index 0000000..1bb17ce --- /dev/null +++ b/db/migrate/20210502212517_create_items.rb @@ -0,0 +1,14 @@ +class CreateItems < ActiveRecord::Migration[6.1] + def change + create_table :items do |t| + t.string :gid + t.string :name + t.text :description + t.integer :equip_slot + t.boolean :usable + t.jsonb :whatnot + + t.timestamps + end + end +end -- cgit v1.2.3