Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F462083
db.rake
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, May 18, 8:02 PM
Size
345 B
Mime Type
text/plain
Expires
Tue, May 20, 8:02 PM (1 d, 3 h)
Engine
blob
Format
Raw Data
Handle
220520
Attached To
rARCHIVING archiving
db.rake
View Options
namespace
:db
do
desc
'Create schema migrations on local database'
task
:generate_migrations
=>
:environment
do
ActiveRecord
::
Base
.
establish_connection
(
Baas
::
settings
[
:local_db
]
)
.
connection
.
execute
(
"CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL, UNIQUE KEY `unique_schema_migrations` (`version`));"
)
end
end
Event Timeline
Log In to Comment