Skip to content

Instantly share code, notes, and snippets.

View giskarda's full-sized avatar

Riccardo Setti giskarda

View GitHub Profile
### Keybase proof
I hereby claim:
* I am giskarda on github.
* I am rsetti (https://keybase.io/rsetti) on keybase.
* I have a public key whose fingerprint is 8118 7882 B051 12F6 6274 55A5 ED64 3440 6E34 893C
To claim this, I am signing this object:
>> DB.schema('prj')
=> [[:id, {:type=>:integer, :default=>nil, :ruby_default=>nil, :db_type=>"integer", :primary_key=>true, :allow_null=>true}], [:name, {:type=>:string, :default=>nil, :ruby_default=>nil, :db_type=>"varchar(255)", :primary_key=>false, :allow_null=>true}], [:owner, {:type=>:string, :default=>nil, :ruby_default=>nil, :db_type=>"varchar(255)", :primary_key=>false, :allow_null=>true}], [:owner_email, {:type=>:string, :default=>nil, :ruby_default=>nil, :db_type=>"varchar(255)", :primary_key=>false, :allow_null=>true}], [:tag, {:type=>:string, :default=>nil, :ruby_default=>nil, :db_type=>"varchar(255)", :primary_key=>false, :allow_null=>true}], [:description, {:type=>:string, :default=>nil, :ruby_default=>nil, :db_type=>"varchar(255)", :primary_key=>false, :allow_null=>true}], [:created_at, {:type=>:datetime, :default=>nil, :ruby_default=>nil, :db_type=>"timestamp", :primary_key=>false, :allow_null=>true}]]
>> DB['prj'].all()
Sequel::DatabaseError: SQLite3::SQLException: near "prj": syntax error
f