Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schematask #1007

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
58bc692
h
sashadev-sky Jul 25, 2019
8dcff6a
h
sashadev-sky Jul 25, 2019
c075966
Merge branch 'main' of https://github.com/publiclab/mapknitter into main
sashadev-sky Jul 26, 2019
986b49a
Merge branch 'main' of https://github.com/publiclab/mapknitter into main
sashadev-sky Jul 30, 2019
34cf99d
Merge branch 'main' of https://github.com/publiclab/mapknitter into main
sashadev-sky Aug 6, 2019
11e11be
Merge branch 'main' of https://github.com/publiclab/mapknitter into main
sashadev-sky Aug 7, 2019
ba41fb4
Merge branch 'main' of https://github.com/publiclab/mapknitter into main
sashadev-sky Aug 11, 2019
d398f00
Merge branch 'main' of https://github.com/publiclab/mapknitter into main
sashadev-sky Aug 12, 2019
1828645
Merge branch 'main' of https://github.com/publiclab/mapknitter into main
sashadev-sky Aug 13, 2019
95759ad
Merge branch 'main' of https://github.com/publiclab/mapknitter into main
sashadev-sky Aug 22, 2019
8238c6f
Merge branch 'main' of https://github.com/publiclab/mapknitter into main
sashadev-sky Aug 27, 2019
bf84e93
Merge branch 'main' of https://github.com/publiclab/mapknitter into main
sashadev-sky Sep 4, 2019
fc9d5ce
Merge branch 'main' of https://github.com/publiclab/mapknitter into main
sashadev-sky Sep 9, 2019
ae6a192
Merge branch 'main' of https://github.com/publiclab/mapknitter into main
sashadev-sky Sep 10, 2019
596f150
updates
sashadev-sky Sep 10, 2019
4f0a534
Merge branch 'main' of https://github.com/publiclab/mapknitter into main
sashadev-sky Sep 10, 2019
5b1f882
use task to update schema
sashadev-sky Sep 10, 2019
26cbb2a
add new line t end of file
sashadev-sky Sep 11, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion db/schema.rb.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 2019_07_15_092943) do
ActiveRecord::Schema.define(version: 2019_09_09_224739) do

create_table "annotations", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8", force: :cascade do |t|
t.integer "map_id"
Expand Down
8 changes: 8 additions & 0 deletions lib/tasks/schema_copy.rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
desc "Make a copy of the schema.rb"

task :copy_schema do
file_name = "./db/schema.rb"
copy_file_name = "./db/schema.rb.example"
schema = File.read(file_name)
File.write(copy_file_name, schema)
end