Initial Sinatra project strucutre

This commit is contained in:
gballan committed 2022-12-07 17:52:27 -05:00
1 parent b5a8889349
commit 6dd3e4c7d6
12 files changed
+206 -7

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
Sequel.migration do
up do
create_table(:items) do
primary_key :id
String :name, null: false
String :manufacturer
String :serial_number
String :sku_number
String :type
String :purchased_from
DateTime :purchased_at
DateTime :created_at
DateTime :updated_at
end
end
down do
drop_table(:items)
end
end