added sequel and sqlite bits for the table
This commit is contained in:
@@ -7,3 +7,5 @@ source "https://rubygems.org"
|
||||
gem "falcon", "~> 0.42.3"
|
||||
|
||||
gem "roda", "~> 3.72"
|
||||
|
||||
gem "sequel", "~> 5.72"
|
||||
|
||||
@@ -23,6 +23,7 @@ GEM
|
||||
async
|
||||
async-pool (0.4.0)
|
||||
async (>= 1.25)
|
||||
bigdecimal (3.1.4)
|
||||
build-environment (1.13.0)
|
||||
console (1.23.2)
|
||||
fiber-annotation
|
||||
@@ -65,6 +66,8 @@ GEM
|
||||
samovar (2.2.0)
|
||||
console (~> 1.0)
|
||||
mapping (~> 1.0)
|
||||
sequel (5.72.0)
|
||||
bigdecimal
|
||||
timers (4.3.5)
|
||||
traces (0.11.1)
|
||||
|
||||
@@ -74,6 +77,7 @@ PLATFORMS
|
||||
DEPENDENCIES
|
||||
falcon (~> 0.42.3)
|
||||
roda (~> 3.72)
|
||||
sequel (~> 5.72)
|
||||
|
||||
BUNDLED WITH
|
||||
2.4.19
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
Sequel.migration do
|
||||
change do
|
||||
create_table :links do
|
||||
String :url, unique: true, null: false
|
||||
String :code, primary_key: true, unique: true, null: false
|
||||
end
|
||||
end
|
||||
end
|
||||
Binary file not shown.
Reference in New Issue
Block a user