Home
last modified time | relevance | path

Searched refs:migrator (Results 1 – 25 of 1000) sorted by relevance

12345678910>>...40

/dports/www/grafana8/grafana-8.3.6/pkg/services/sqlstore/migrations/ualert/
H A Dtables.go33 Columns: []*migrator.Column{
44 Indices: []*migrator.Index{
82 Columns: []*migrator.Column{
95 Indices: []*migrator.Index{
112 Columns: []*migrator.Column{
122 Indices: []*migrator.Index{
156 alertRule := migrator.Table{
174 Indices: []*migrator.Index{
210 &migrator.Column{
220 &migrator.Column{
[all …]
H A Dualert.go53 func AddDashAlertMigration(mg *migrator.Migrator) {
141 migrator.MigrationBase
190 migrator.MigrationBase
212 migrator.MigrationBase
215 mg *migrator.Migrator
553 migrator.MigrationBase
630 migrator.MigrationBase
635 func (u *upgradeNgAlerting) Exec(sess *xorm.Session, migrator *migrator.Migrator) error {
644 func (u *upgradeNgAlerting) updateAlertConfigurations(sess *xorm.Session, migrator *migrator.Migrat…
704 func (u *upgradeNgAlerting) updateAlertmanagerFiles(orgId int64, migrator *migrator.Migrator) {
[all …]
/dports/www/grafana8/grafana-8.3.6/pkg/services/sqlstore/migrations/accesscontrol/
H A Dmigrations.go6 permissionV1 := migrator.Table{
8 Columns: []*migrator.Column{
16 Indices: []*migrator.Index{
28 roleV1 := migrator.Table{
30 Columns: []*migrator.Column{
40 Indices: []*migrator.Index{
61 teamRoleV1 := migrator.Table{
63 Columns: []*migrator.Column{
70 Indices: []*migrator.Index{
93 Indices: []*migrator.Index{
[all …]
/dports/www/grafana8/grafana-8.3.6/pkg/services/sqlstore/migrations/
H A Dlibraryelements.go9 func addLibraryElementsMigrations(mg *migrator.Migrator) {
10 libraryElementsV1 := migrator.Table{
12 Columns: []*migrator.Column{
14 {Name: "org_id", Type: migrator.DB_BigInt, Nullable: false},
18 {Name: "kind", Type: migrator.DB_BigInt, Nullable: false},
21 {Name: "model", Type: migrator.DB_Text, Nullable: false},
28 Indices: []*migrator.Index{
36 libraryElementConnectionV1 := migrator.Table{
38 Columns: []*migrator.Column{
46 Indices: []*migrator.Index{
[all …]
H A Dsecrets_mig.go5 func addSecretsMigration(mg *migrator.Migrator) {
6 dataKeysV1 := migrator.Table{
8 Columns: []*migrator.Column{
9 {Name: "name", Type: migrator.DB_NVarchar, Length: 100, IsPrimaryKey: true},
10 {Name: "active", Type: migrator.DB_Bool},
11 {Name: "scope", Type: migrator.DB_NVarchar, Length: 30, Nullable: false},
12 {Name: "provider", Type: migrator.DB_NVarchar, Length: 50, Nullable: false},
13 {Name: "encrypted_data", Type: migrator.DB_Blob, Nullable: false},
14 {Name: "created", Type: migrator.DB_DateTime, Nullable: false},
15 {Name: "updated", Type: migrator.DB_DateTime, Nullable: false},
[all …]
H A Dserverlock_migrations.go5 func addServerlockMigrations(mg *migrator.Migrator) {
6 serverLock := migrator.Table{
8 Columns: []*migrator.Column{
9 {Name: "id", Type: migrator.DB_BigInt, IsPrimaryKey: true, IsAutoIncrement: true},
10 {Name: "operation_uid", Type: migrator.DB_NVarchar, Length: 100},
11 {Name: "version", Type: migrator.DB_BigInt},
12 {Name: "last_execution", Type: migrator.DB_BigInt, Nullable: false},
14 Indices: []*migrator.Index{
15 {Cols: []string{"operation_uid"}, Type: migrator.UniqueIndex},
19 mg.AddMigration("create server_lock table", migrator.NewAddTableMigration(serverLock))
[all …]
H A Dcache_data_mig.go5 func addCacheMigration(mg *migrator.Migrator) {
6 var cacheDataV1 = migrator.Table{
8 Columns: []*migrator.Column{
9 {Name: "cache_key", Type: migrator.DB_NVarchar, IsPrimaryKey: true, Length: 168},
10 {Name: "data", Type: migrator.DB_Blob},
11 {Name: "expires", Type: migrator.DB_Integer, Length: 255, Nullable: false},
12 {Name: "created_at", Type: migrator.DB_Integer, Length: 255, Nullable: false},
14 Indices: []*migrator.Index{
15 {Cols: []string{"cache_key"}, Type: migrator.UniqueIndex},
19 mg.AddMigration("create cache_data table", migrator.NewAddTableMigration(cacheDataV1))
[all …]
/dports/databases/py-peewee_migrate/peewee_migrate-1.4.6/tests/
H A Dtest_migrator.py23 migrator.run()
27 migrator.run()
33 migrator.run()
38 migrator.run()
43 migrator.run()
48 migrator.run()
52 migrator.run()
56 migrator.run()
60 migrator.run()
65 migrator.run()
[all …]
/dports/net-im/prosody/prosody-0.11.13/tools/migration/
H A DMakefile15 SOURCE_FILES = migrator/*.lua
17 all: prosody-migrator.install migrator.cfg.lua.install prosody-migrator.lua $(SOURCE_FILES)
19 install: prosody-migrator.install migrator.cfg.lua.install
22 install -d $(SOURCE)/migrator
23 install -m755 ./prosody-migrator.install $(BIN)/prosody-migrator
25 install -m644 migrator.cfg.lua.install $(CONFIG)/migrator.cfg.lua.sample
28 rm -f prosody-migrator.install
31 prosody-migrator.install: prosody-migrator.lua
35 < prosody-migrator.lua > prosody-migrator.install
37 migrator.cfg.lua.install: migrator.cfg.lua
[all …]
/dports/net/concourse-fly/concourse-6.7.1/atc/db/migration/
H A Dmigration_test.go58 err := migrator.Up(nil, nil)
147 err = migrator.Up(nil, nil)
166 err = migrator.Up(nil, nil)
190 err = migrator.Up(nil, nil)
227 err = migrator.Up(nil, nil)
259 err := migrator.Up(nil, nil)
296 err := migrator.Up(nil, nil)
356 err = migrator.Up(nil, nil)
387 err = migrator.Up(nil, nil)
415 err = migrator.Up(nil, nil)
[all …]
H A Dencryption_test.go58 err := migrator.Up(nil, nil)
63 err = migrator.Up(key, nil)
84 err := migrator.Up(key1, nil)
89 err = migrator.Up(nil, key1)
99 err := migrator.Up(key2, nil)
104 err = migrator.Up(key1, key2)
130 migrator migration.Migrator
138 err := migrator.Up(nil, nil)
147 err = migrator.Up(key1, nil)
156 err = migrator.Up(nil, key1)
[all …]
/dports/misc/concourse/concourse-6.7.2/atc/db/migration/
H A Dmigration_test.go58 err := migrator.Up(nil, nil)
147 err = migrator.Up(nil, nil)
166 err = migrator.Up(nil, nil)
190 err = migrator.Up(nil, nil)
227 err = migrator.Up(nil, nil)
259 err := migrator.Up(nil, nil)
296 err := migrator.Up(nil, nil)
356 err = migrator.Up(nil, nil)
387 err = migrator.Up(nil, nil)
415 err = migrator.Up(nil, nil)
[all …]
H A Dencryption_test.go58 err := migrator.Up(nil, nil)
63 err = migrator.Up(key, nil)
84 err := migrator.Up(key1, nil)
89 err = migrator.Up(nil, key1)
99 err := migrator.Up(key2, nil)
104 err = migrator.Up(key1, key2)
130 migrator migration.Migrator
138 err := migrator.Up(nil, nil)
147 err = migrator.Up(key1, nil)
156 err = migrator.Up(nil, key1)
[all …]
/dports/databases/pear-Horde_Db/Horde_Db-2.4.0/test/Horde/Db/Migration/
H A DMigratorTest.php72 $migrator->up();
84 $migrator->down();
107 $migrator->up(1);
119 $migrator->up(2);
132 $migrator->up();
133 $migrator->down(1);
144 $migrator->up(1);
145 $migrator->down(0);
156 $migrator->up(1);
157 $migrator->down(0);
[all …]
/dports/deskutils/kdepim-runtime/kdepim-runtime-21.12.3/agents/migration/
H A Dmigrationexecutor.cpp23 void MigrationExecutor::add(const QSharedPointer<MigratorBase> &migrator) in add() argument
26 mQueue.enqueue(migrator.toWeakRef()); in add()
35 QSharedPointer<MigratorBase> migrator; in executeNext() local
36 while (!migrator && !mQueue.isEmpty()) { in executeNext()
38 migrator = mCurrentMigrator.toStrongRef(); in executeNext()
40 if (migrator) { in executeNext()
43 migrator->start(); in executeNext()
66 if (migrator) { in doSuspend()
67 migrator->pause(); in doSuspend()
82 if (migrator) { in doResume()
[all …]
H A Dmigrationscheduler.cpp57 , mMigrator(migrator) in Row()
103 if (migrator(m->identifier())) { in addMigrator()
161 if (!migrator) { in data()
173 return migrator->status(); in data()
179 return migrator->identifier(); in data()
181 return migrator->logfile(); in data()
183 return migrator->description(); in data()
224 if (mModel->addMigrator(migrator)) { in addMigrator()
228 if (migrator->shouldAutostart()) { in addMigrator()
229 checkForAutostart(migrator); in addMigrator()
[all …]
/dports/www/phpbb3/phpBB3/config/default/container/
H A Dservices_migrator.yml3 migrator:
4 class: phpbb\db\migrator
15 - '@migrator.helper'
17 migrator.helper:
21 migrator.tool_collection:
28 migrator.tool.config:
33 - { name: migrator.tool }
35 migrator.tool.config_text:
40 - { name: migrator.tool }
42 migrator.tool.module:
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/sync/driver/
H A Dbackend_migrator_unittest.cc75 BackendMigrator* migrator() { return migrator_.get(); } in migrator() function in syncer::SyncBackendMigratorTest
99 migrator()->AddMigrationObserver(&migration_observer); in TEST_F()
112 migrator()->MigrateTypes(to_migrate); in TEST_F()
122 EXPECT_EQ(BackendMigrator::IDLE, migrator()->state()); in TEST_F()
142 migrator()->MigrateTypes(to_migrate); in TEST_F()
165 migrator()->MigrateTypes(to_migrate); in TEST_F()
191 migrator()->MigrateTypes(to_migrate1); in TEST_F()
194 migrator()->MigrateTypes(to_migrate2); in TEST_F()
222 migrator()->MigrateTypes(to_migrate); in TEST_F()
247 migrator()->MigrateTypes(to_migrate); in TEST_F()
[all …]
/dports/www/phpbb3/phpBB3/phpbb/extension/
H A Dbase.php30 protected $migrator; variable in phpbb\\extension\\base
50 …erInterface $container, \phpbb\finder $extension_finder, \phpbb\db\migrator $migrator, $extension_… argument
54 $this->migrator = $migrator;
78 $this->migrator->update();
80 return !$this->migrator->finished();
106 while ($this->migrator->migration_state($migration) !== false)
108 $this->migrator->revert($migration);
136 $this->migrator->set_migrations($migrations);
138 $migrations = $this->migrator->get_migrations();
/dports/net-p2p/bazarr/bazarr-1.0.2/bazarr/
H A Ddatabase.py21 migrator = SqliteMigrator(database) variable
296 migrator.add_column('table_shows', 'year', TextField(null=True)),
302 migrator.add_column('table_episodes', 'format', TextField(null=True)),
310 migrator.add_column('table_movies', 'sortTitle', TextField(null=True)),
311 migrator.add_column('table_movies', 'year', TextField(null=True)),
313 migrator.add_column('table_movies', 'format', TextField(null=True)),
317 migrator.add_column('table_movies', 'imdbId', TextField(null=True)),
324 migrator.add_column('table_history', 'language', TextField(null=True)),
325 migrator.add_column('table_history', 'provider', TextField(null=True)),
326 migrator.add_column('table_history', 'score', TextField(null=True)),
[all …]
/dports/databases/py-peewee_migrate/peewee_migrate-1.4.6/peewee_migrate/
H A Drouter.py19 from peewee_migrate.migrator import Migrator
79 def migrator(self) -> Migrator: member in BaseRouter
83 self.run_one(name, migrator)
84 return migrator
130 migrate = compile_migrations(migrator, self.migrator.orm.values())
172 migrator.clean()
179 migrator.run()
184 migrator.run()
206 migrator = self.migrator
224 migrator = self.migrator
[all …]
/dports/www/py-freenit/freenit-0.1.25/migrations/main/
H A D001_initial.py6 def migrate(migrator, database, fake=False, **kwargs): argument
7 @migrator.create_model
16 @migrator.create_model
29 @migrator.create_model
36 model=migrator.orm['role']
42 model=migrator.orm['users']
49 def rollback(migrator, database, fake=False, **kwargs): argument
50 migrator.remove_model('userroles')
51 migrator.remove_model('users')
52 migrator.remove_model('role')
/dports/net-mgmt/librenms/librenms-vendor-21.5.1/laravel/framework/src/Illuminate/Database/Console/Migrations/
H A DStatusCommand.php30 protected $migrator; variable in Illuminate\\Database\\Console\\Migrations\\StatusCommand
38 public function __construct(Migrator $migrator) argument
42 $this->migrator = $migrator;
52 return $this->migrator->usingConnection($this->option('database'), function () {
53 if (! $this->migrator->repositoryExists()) {
59 $ran = $this->migrator->getRepository()->getRan();
61 $batches = $this->migrator->getRepository()->getMigrationBatches();
82 $migrationName = $this->migrator->getMigrationName($migration);
97 return $this->migrator->getMigrationFiles($this->getMigrationPaths());
/dports/www/webtrees20/webtrees-2.0.19/webtrees/vendor/illuminate/database/Console/Migrations/
H A DStatusCommand.php30 protected $migrator; variable in Illuminate\\Database\\Console\\Migrations\\StatusCommand
38 public function __construct(Migrator $migrator) argument
42 $this->migrator = $migrator;
52 $this->migrator->setConnection($this->option('database'));
54 if (! $this->migrator->repositoryExists()) {
58 $ran = $this->migrator->getRepository()->getRan();
60 $batches = $this->migrator->getRepository()->getMigrationBatches();
80 $migrationName = $this->migrator->getMigrationName($migration);
95 return $this->migrator->getMigrationFiles($this->getMigrationPaths());
/dports/devel/bugzilla44/bugzilla-4.4.13/
H A Dmigrate.pl28 my $migrator = Bugzilla::Migrate->load($switch{'from'});
29 $migrator->verbose($switch{'verbose'});
30 $migrator->dry_run($switch{'dry-run'});
31 $migrator->check_requirements();
32 $migrator->do_migration();
37 if ($migrator and $migrator->dry_run) {
42 $migrator->reset_serial_values();

12345678910>>...40