Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (17 sloc) 356 Bytes
require 'sequel'
DB = Sequel.sqlite # Use SQLite as an adapter
module Database
def self.setup
unless DB.table_exists?(:players)
DB.create_table :players do
primary_key :id
String :name
Integer :salary
String :team
String :matchup
String :position
Float :ppg
end
end
end
end
You can’t perform that action at this time.