diff --git a/app.rb b/app.rb index 5948cec..4418552 100644 --- a/app.rb +++ b/app.rb @@ -11,10 +11,10 @@ set :database, (ENV['DATABASE_URL'] || 'sqlite:///tmp/delpin3.db') migration "create mappings" do -database.create_table :mappings do - primary_key :id - text :delicious - text :pinboard + database.create_table :mappings do + primary_key :id + text :delicious + text :pinboard timestamp :created_at, :null => false timestamp :updated_at, :null => false