removed 20121203225613_add_arranged_to_map.rb
This commit is contained in:
parent
698690effd
commit
baaa746a47
4 changed files with 93 additions and 90 deletions
|
@ -29,10 +29,21 @@ line-height: 24px;}
|
||||||
|
|
||||||
.item .icon { position:absolute; top:135px; left:-25px; }
|
.item .icon { position:absolute; top:135px; left:-25px; }
|
||||||
|
|
||||||
.item .title { font-size:22px; line-height:25px; display:block; border-bottom:2px solid #000; padding-bottom:5px; }
|
.item .title {
|
||||||
|
font-size:22px;
|
||||||
|
line-height:25px;
|
||||||
|
display:block;
|
||||||
|
border-bottom:2px solid #000;
|
||||||
|
padding-bottom:5px;
|
||||||
|
}
|
||||||
|
|
||||||
.item .desc { font-size:15px; font-family:Arial, Helvetica, sans-serif; }
|
.item .desc { font-size:15px; font-family:Arial, Helvetica, sans-serif; }
|
||||||
.item .desc h3 { font-style:normal; margin-top:5px; }
|
.item .desc h3 { font-style:normal; margin-top:5px; }
|
||||||
|
|
||||||
.item .link { position:absolute; width:170px; top:295px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
.item .link { position:absolute; width:170px; top:295px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||||
|
|
||||||
|
.item .add-synapse {
|
||||||
|
position: absolute;
|
||||||
|
bottom: 48%;
|
||||||
|
right: 0.3em;
|
||||||
|
}
|
||||||
|
|
|
@ -6,8 +6,6 @@ development:
|
||||||
encoding: unicode
|
encoding: unicode
|
||||||
database: metamap002_development
|
database: metamap002_development
|
||||||
pool: 5
|
pool: 5
|
||||||
username: postgres
|
|
||||||
password: "3112"
|
|
||||||
|
|
||||||
production:
|
production:
|
||||||
min_messages: WARNING
|
min_messages: WARNING
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
class AddArrangedToMap < ActiveRecord::Migration
|
|
||||||
def change
|
|
||||||
add_column :maps, :arranged, :boolean
|
|
||||||
Map.update_all ["arranged = ?", false]
|
|
||||||
end
|
|
||||||
end
|
|
162
db/schema.rb
162
db/schema.rb
|
@ -1,81 +1,81 @@
|
||||||
# encoding: UTF-8
|
# encoding: UTF-8
|
||||||
# This file is auto-generated from the current state of the database. Instead
|
# This file is auto-generated from the current state of the database. Instead
|
||||||
# of editing this file, please use the migrations feature of Active Record to
|
# of editing this file, please use the migrations feature of Active Record to
|
||||||
# incrementally modify your database, and then regenerate this schema definition.
|
# incrementally modify your database, and then regenerate this schema definition.
|
||||||
#
|
#
|
||||||
# Note that this schema.rb definition is the authoritative source for your
|
# Note that this schema.rb definition is the authoritative source for your
|
||||||
# database schema. If you need to create the application database on another
|
# database schema. If you need to create the application database on another
|
||||||
# system, you should be using db:schema:load, not running all the migrations
|
# system, you should be using db:schema:load, not running all the migrations
|
||||||
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
||||||
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
||||||
#
|
#
|
||||||
# It's strongly recommended to check this file into your version control system.
|
# It's strongly recommended to check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(:version => 20121203225613) do
|
ActiveRecord::Schema.define(:version => 20121026000731) do
|
||||||
|
|
||||||
create_table "item_categories", :force => true do |t|
|
create_table "item_categories", :force => true do |t|
|
||||||
t.text "name"
|
t.text "name"
|
||||||
t.string "icon"
|
t.string "icon"
|
||||||
t.datetime "created_at", :null => false
|
t.datetime "created_at", :null => false
|
||||||
t.datetime "updated_at", :null => false
|
t.datetime "updated_at", :null => false
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "items", :force => true do |t|
|
create_table "items", :force => true do |t|
|
||||||
t.text "name"
|
t.text "name"
|
||||||
t.text "desc"
|
t.text "desc"
|
||||||
t.text "link"
|
t.text "link"
|
||||||
t.text "permission"
|
t.text "permission"
|
||||||
t.integer "user_id"
|
t.integer "user_id"
|
||||||
t.integer "item_category_id"
|
t.integer "item_category_id"
|
||||||
t.datetime "created_at", :null => false
|
t.datetime "created_at", :null => false
|
||||||
t.datetime "updated_at", :null => false
|
t.datetime "updated_at", :null => false
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "mappings", :force => true do |t|
|
create_table "mappings", :force => true do |t|
|
||||||
t.text "category"
|
t.text "category"
|
||||||
t.integer "xloc"
|
t.integer "xloc"
|
||||||
t.integer "yloc"
|
t.integer "yloc"
|
||||||
t.integer "item_id"
|
t.integer "item_id"
|
||||||
t.integer "synapse_id"
|
t.integer "synapse_id"
|
||||||
t.integer "map_id"
|
t.integer "map_id"
|
||||||
t.integer "user_id"
|
t.integer "user_id"
|
||||||
t.datetime "created_at", :null => false
|
t.datetime "created_at", :null => false
|
||||||
t.datetime "updated_at", :null => false
|
t.datetime "updated_at", :null => false
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "maps", :force => true do |t|
|
create_table "maps", :force => true do |t|
|
||||||
t.text "name"
|
t.text "name"
|
||||||
t.text "desc"
|
t.boolean "arranged"
|
||||||
t.text "permission"
|
t.text "desc"
|
||||||
t.integer "user_id"
|
t.text "permission"
|
||||||
t.datetime "created_at", :null => false
|
t.integer "user_id"
|
||||||
t.datetime "updated_at", :null => false
|
t.datetime "created_at", :null => false
|
||||||
t.boolean "arranged"
|
t.datetime "updated_at", :null => false
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "synapses", :force => true do |t|
|
create_table "synapses", :force => true do |t|
|
||||||
t.text "desc"
|
t.text "desc"
|
||||||
t.text "category"
|
t.text "category"
|
||||||
t.text "weight"
|
t.text "weight"
|
||||||
t.text "permission"
|
t.text "permission"
|
||||||
t.integer "node1_id"
|
t.integer "node1_id"
|
||||||
t.integer "node2_id"
|
t.integer "node2_id"
|
||||||
t.integer "user_id"
|
t.integer "user_id"
|
||||||
t.datetime "created_at", :null => false
|
t.datetime "created_at", :null => false
|
||||||
t.datetime "updated_at", :null => false
|
t.datetime "updated_at", :null => false
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "users", :force => true do |t|
|
create_table "users", :force => true do |t|
|
||||||
t.string "name"
|
t.string "name"
|
||||||
t.string "email"
|
t.string "email"
|
||||||
t.string "code", :limit => 8
|
t.string "code", :limit => 8
|
||||||
t.string "joinedwithcode", :limit => 8
|
t.string "joinedwithcode", :limit => 8
|
||||||
t.string "crypted_password"
|
t.string "crypted_password"
|
||||||
t.string "password_salt"
|
t.string "password_salt"
|
||||||
t.string "persistence_token"
|
t.string "persistence_token"
|
||||||
t.string "perishable_token"
|
t.string "perishable_token"
|
||||||
t.datetime "created_at", :null => false
|
t.datetime "created_at", :null => false
|
||||||
t.datetime "updated_at", :null => false
|
t.datetime "updated_at", :null => false
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue