Sha256: d5de4dcebb577a0544ab3a9be1e80ca4c76614c89395bb214f53070157d524c0
Contents?: true
Size: 218 Bytes
Versions: 1
Compression:
Stored size: 218 Bytes
Contents
require 'sequel' require 'sqlite3' DB = Sequel.sqlite './liveviews.demo.db' DB.create_table? :user_scores do primary_key :id Integer :user_id, :null => false Float :score end class UserScore < Sequel::Model end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sinatra-liveviews-0.5.0 | demo/lib/model.rb |