Skip to content
Newer
Older
100644 24 lines (18 sloc) 475 Bytes
731d87c @jcoglan Make example app work locally.
jcoglan authored
1 require 'rubygems'
1bc515d @jcoglan Load bundler in schema.rb.
jcoglan authored
2 require 'bundler/setup'
ec50b2f @jcoglan Example application.
jcoglan authored
3
a58f1a1 @jcoglan Adjust how example app environment is set up.
jcoglan authored
4 require 'songkick/oauth2/provider'
5 require 'active_record'
6 require File.expand_path('../models/connection', __FILE__)
ec50b2f @jcoglan Example application.
jcoglan authored
7
8 ActiveRecord::Schema.define do |version|
9 create_table :users, :force => true do |t|
10 t.timestamps
11 t.string :username
12 end
7775e63 @jcoglan Remove all the trailing whitespace.
jcoglan authored
13
ec50b2f @jcoglan Example application.
jcoglan authored
14 create_table :notes, :force => true do |t|
15 t.timestamps
16 t.belongs_to :user
17 t.string :title
18 t.text :body
19 end
20 end
21
9ce48e4 @jcoglan Move everything into the Songkick namespace for release as a gem.
jcoglan authored
22 Songkick::OAuth2::Model::Schema.up
99427e4 @jcoglan Don't store client secrets in plain text.
jcoglan authored
23
Something went wrong with that request. Please try again.