Jyri-Petteri Paloposki
987f2848a8
Updated DB schema
2022-02-23 14:23:57 +02:00
Jyri-Petteri Paloposki
ddcd468070
Add a user preference that can be used as a fallback for the sender authentication.
2022-02-22 22:20:35 +02:00
Jyri-Petteri Paloposki
83dd49a52f
Small fix to fi locale and whitespace changes to migrate script
2021-01-06 15:33:13 +02:00
Jyri-Petteri Paloposki
9982217ee9
Add theme selector to preferences and return the previous black theme as an alternative
2020-08-20 02:46:45 +03:00
Jyri-Petteri Paloposki
1936c90c95
Record and show the last time users have logged in
2020-08-10 16:54:48 +03:00
Jyri-Petteri Paloposki
c9e5f0318d
#2448 : Update the schema file
2020-08-07 21:38:16 +03:00
Jyri-Petteri Paloposki
8369bf9e96
#2448 : Add created_at and updated_at fields to the user model and display the creation date in user list
2020-08-07 21:16:32 +03:00
Jyri-Petteri Paloposki
f9f7e6b9ea
Updated schema
2020-07-20 19:38:15 +03:00
Jyri-Petteri Paloposki
dbaa9a85cb
Add a field for user email address
2020-07-20 18:41:10 +03:00
Utsav Sethi
970146f710
Change "todos.description" from "string" to "text"
...
DB field "todos.description" was type string, which
defaults to length 255 in MySQL. Model allows field
to be up to 300 characters, which could cause a DB
error, if user saved a description of between 255
and 300 characters.
2020-01-13 15:19:23 -06:00
Jyri-Petteri Paloposki
b94f2cdcfd
#2295 : Fix for the migration bug in MySQL
2019-11-06 01:32:46 +02:00
Carsten Otto
be68737572
fix for Postgres: replace " by ', use row['colname'] instead of row[n]
...
fixes #2277
2019-09-07 11:40:18 +02:00
Jyri-Petteri Paloposki
ad0f617d7c
#1955 : Change the logic concerning unused tags and add CHANGELOG entries
2019-07-19 03:26:26 +03:00
Jyri-Petteri Paloposki
1c61f9cffb
#1955 : Fix the migration queries
2019-06-27 16:48:26 +03:00
Jyri-Petteri Paloposki
5394973346
#1955 : Migrate tags to belong to named users for enhanced privacy.
2019-06-25 11:37:34 +03:00
Steven R. Baker
6fb6cac89c
Add Rails version to the migrations.
2019-05-13 18:42:57 +02:00
Matt Rogers
d3c9975606
allow newer rails to rewrite the schema
2018-11-20 19:56:50 -06:00
Dan Rice
777dc10d49
Update schema.rb with RemoveProjectHiddenStateFromTodos migration
2016-05-15 20:29:25 -04:00
Carsten Otto
6805cb801b
Add migration script to remove 'project_hidden'
2016-04-16 09:28:11 +02:00
Jan-Yves Ruzicka
ccf13418f4
Extract rendering to helper method. Shift filename sanitization to controller.
2016-02-02 11:08:12 +00:00
Reinier Balt
2bd68fecb7
Create attachment model and hook it up to todo
...
An attachment has write permissions on group so that managing
attachments work from different users in same group, i.e. user apache
and user mail.
2015-08-05 16:05:19 +02:00
Carsten Otto
d480569629
occurence -> occurrence
2015-02-10 15:49:13 +01:00
Dan Rice
2820c423c7
Merge pull request #216 from TracksApp/update-db-schema
...
Update db/schema after running db:migrate from scratch
2014-06-10 15:49:13 -04:00
Dan Rice
d48d49790a
Remove sample SQLite databases
...
They're out of date, SQLite isn't the default database driver, and
they're not mentioned in the documentation.
2014-05-05 22:50:25 -04:00
Matt Rogers
e15d3f9e9b
Update db/schema after running db:migrate from scratch
2014-03-22 08:53:14 -05:00
Reinier Balt
b543f530e8
add recent schema.rb
2014-03-04 17:08:22 +01:00
Reinier Balt
008d3d4c3d
fix mysql error on old migration. prevented ci from running
2014-01-02 19:41:02 +01:00
Reinier Balt
eaa66be698
fix deprecation warnings
2013-09-13 16:44:59 +02:00
Tim Madden
45a4210587
Update db/schema with new syntax
2013-07-24 10:14:46 -05:00
Dan Rice
9cdea2c51f
Check schema.rb into source control
...
This practice is "strongly recommended."
http://guides.rubyonrails.org/migrations.html#schema-dumps-and-source-control
2013-03-04 12:42:59 -05:00
Dan Rice
257b969aff
Fix code formatting in AddStateToContext migration
2013-03-02 03:19:40 -05:00
Dan Rice
560f2ff538
Give the Context.state column a default value of 'active'
...
SQLite does not permit a NOT NULL column to have default value NULL.
2013-03-02 03:02:05 -05:00
Reinier Balt
29f28db810
fix migration for rollback
2013-03-01 16:48:52 +01:00
Reinier Balt
99eed9f638
add state machine to context including a closed state
2013-03-01 16:22:29 +01:00
Reinier Balt
bd656ee1c7
fix #1350 by removing admin_email from preferences model and add it as a site option in
...
site.yml.tmpl. This one needs running migrations
2012-12-23 21:03:37 +01:00
Dan Rice
c1f1fcb35b
Use say() instead of puts() in migrations
2012-12-04 19:04:21 -05:00
Dan Rice
1de6a0c9dc
Reload columns before rendering notes during migration
...
Fixes #1351
2012-12-04 18:44:58 -05:00
Reinier Balt
702c89e754
add tolk to Tracks for easy management of translations. Limited to development
...
environment only. Need migration.
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2012-07-18 14:58:24 +02:00
Michael Witrant
0572a89a4d
removed support for Rails < 3.0
2012-07-08 21:10:54 +02:00
Michael Witrant
6fd369b91e
fixed AddRenderedNotes migration on Rails > 3.1
2012-07-07 10:27:59 +02:00
Matt Rogers
598891c1d3
Don't use dynamic finders in this migration.
...
For whatever reason, the dynamic finders aren't available in this
migration and so the migration fails. Converting to find(:all,
:conditions => {...}) prevents this from not failing.
2012-05-13 21:03:38 -05:00
Matt Rogers
a97384f318
Workaround a problem with SQLite 3 and long index names
...
Index names can only be a certain length. The remove_user_from_taggings
migration, when run on sqlite3, creates an index name that violates the
maximum length check. Fix it by removing and then recreating the indexes
as part of the migration.
2012-05-12 22:01:31 -05:00
Matt Rogers
8979d2cf9f
remove the double .rb extension
...
one .rb is quite enough. ;)
2012-05-04 22:21:15 -05:00
Reinier Balt
a83c8b3f92
initial upgrade to rails 3.2.3
2012-04-30 13:56:33 +02:00
Reinier Balt
6e15c38efe
update docs and default database from changes in 2.1 tree
2012-04-19 00:35:46 +02:00
Reinier Balt
bb8b5a4c72
store rendered notes of todos in database to avoid costly rendering when you load a page
2012-04-12 11:34:08 +02:00
Reinier Balt
98bb405f69
fix #1274 by adding indeces for dependency and project tables
2012-04-09 12:58:29 +02:00
Reinier Balt
3a07010338
first cleanups of review feature
2011-09-28 13:58:46 +02:00
sfischme
33befa88b3
added preference settings
2011-09-15 21:06:50 -04:00
sfischme
77b6c931ca
added separate database field for reviews
2011-09-15 20:52:24 -04:00