-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start and end date filter forms for assignments and pattern marks
- Loading branch information
1 parent
640b394
commit 04df63a
Showing
6 changed files
with
122 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,91 +1,91 @@ | ||
# 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 | ||
# incrementally modify your database, and then regenerate this schema definition. | ||
# | ||
# Note that this schema.rb definition is the authoritative source for your | ||
# 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 | ||
# 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). | ||
# | ||
# It's strongly recommended to check this file into your version control system. | ||
|
||
ActiveRecord::Schema.define(:version => 20110316032158) do | ||
|
||
create_table "assignments", :force => true do |t| | ||
t.integer "observation_range_id" | ||
t.integer "user_id" | ||
t.string "status" | ||
t.datetime "created_at" | ||
t.datetime "updated_at" | ||
end | ||
|
||
create_table "observation_ranges", :force => true do |t| | ||
t.integer "observation_id" | ||
t.decimal "lo_mhz" | ||
t.decimal "hi_mhz" | ||
t.string "status" | ||
t.datetime "created_at" | ||
t.datetime "updated_at" | ||
t.text "url_part_list" | ||
end | ||
|
||
create_table "observations", :force => true do |t| | ||
t.date "date" | ||
t.integer "target_id" | ||
t.datetime "created_at" | ||
t.datetime "updated_at" | ||
t.string "base_url" | ||
end | ||
|
||
create_table "pattern_marks", :force => true do |t| | ||
t.decimal "mhz" | ||
t.string "category" | ||
t.date "date" | ||
t.integer "pattern_id" | ||
t.integer "assignment_id" | ||
t.datetime "created_at" | ||
t.datetime "updated_at" | ||
end | ||
|
||
create_table "patterns", :force => true do |t| | ||
t.decimal "lo_mhz" | ||
t.decimal "hi_mhz" | ||
t.string "category" | ||
t.text "description" | ||
t.datetime "created_at" | ||
t.datetime "updated_at" | ||
t.integer "observation_id" | ||
end | ||
|
||
create_table "sessions", :force => true do |t| | ||
t.string "session_id", :null => false | ||
t.text "data" | ||
t.datetime "created_at" | ||
t.datetime "updated_at" | ||
end | ||
|
||
add_index "sessions", ["session_id"], :name => "index_sessions_on_session_id" | ||
add_index "sessions", ["updated_at"], :name => "index_sessions_on_updated_at" | ||
|
||
create_table "targets", :force => true do |t| | ||
t.string "name" | ||
t.text "description" | ||
t.decimal "right_ascension", :precision => 15, :scale => 12 | ||
t.decimal "declination", :precision => 15, :scale => 12 | ||
t.datetime "created_at" | ||
t.datetime "updated_at" | ||
end | ||
|
||
create_table "users", :force => true do |t| | ||
t.datetime "created_at" | ||
t.datetime "updated_at" | ||
t.string "uid" | ||
t.string "provider" | ||
t.string "name" | ||
t.string "role" | ||
t.string "email" | ||
t.string "user_agent_at_creation" | ||
end | ||
|
||
end | ||
# 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 | ||
# incrementally modify your database, and then regenerate this schema definition. | ||
# | ||
# Note that this schema.rb definition is the authoritative source for your | ||
# 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 | ||
# 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). | ||
# | ||
# It's strongly recommended to check this file into your version control system. | ||
|
||
ActiveRecord::Schema.define(:version => 20110316032158) do | ||
|
||
create_table "assignments", :force => true do |t| | ||
t.integer "observation_range_id" | ||
t.integer "user_id" | ||
t.string "status" | ||
t.datetime "created_at" | ||
t.datetime "updated_at" | ||
end | ||
|
||
create_table "observation_ranges", :force => true do |t| | ||
t.integer "observation_id" | ||
t.decimal "lo_mhz" | ||
t.decimal "hi_mhz" | ||
t.string "status" | ||
t.datetime "created_at" | ||
t.datetime "updated_at" | ||
t.text "url_part_list" | ||
end | ||
|
||
create_table "observations", :force => true do |t| | ||
t.date "date" | ||
t.integer "target_id" | ||
t.datetime "created_at" | ||
t.datetime "updated_at" | ||
t.string "base_url" | ||
end | ||
|
||
create_table "pattern_marks", :force => true do |t| | ||
t.decimal "mhz" | ||
t.string "category" | ||
t.date "date" | ||
t.integer "pattern_id" | ||
t.integer "assignment_id" | ||
t.datetime "created_at" | ||
t.datetime "updated_at" | ||
end | ||
|
||
create_table "patterns", :force => true do |t| | ||
t.decimal "lo_mhz" | ||
t.decimal "hi_mhz" | ||
t.string "category" | ||
t.text "description" | ||
t.datetime "created_at" | ||
t.datetime "updated_at" | ||
t.integer "observation_id" | ||
end | ||
|
||
create_table "sessions", :force => true do |t| | ||
t.string "session_id", :null => false | ||
t.text "data" | ||
t.datetime "created_at" | ||
t.datetime "updated_at" | ||
end | ||
|
||
add_index "sessions", ["session_id"], :name => "index_sessions_on_session_id" | ||
add_index "sessions", ["updated_at"], :name => "index_sessions_on_updated_at" | ||
|
||
create_table "targets", :force => true do |t| | ||
t.string "name" | ||
t.text "description" | ||
t.decimal "right_ascension", :precision => 15, :scale => 12 | ||
t.decimal "declination", :precision => 15, :scale => 12 | ||
t.datetime "created_at" | ||
t.datetime "updated_at" | ||
end | ||
|
||
create_table "users", :force => true do |t| | ||
t.datetime "created_at" | ||
t.datetime "updated_at" | ||
t.string "uid" | ||
t.string "provider" | ||
t.string "name" | ||
t.string "role" | ||
t.string "email" | ||
t.string "user_agent_at_creation" | ||
end | ||
|
||
end |